package com.tang.service.admin.model.res;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tang.common.model.BaseVO;
import com.tang.common.model.req.ReqPage;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema
public class ResSysDictTypeTableItem extends BaseVO {


    @Schema(description = "字典类型名称")
    private String name;


    @ExcelProperty(value = "字典描述")
    @Schema(description = "描述")
    private String desc;


    @ExcelProperty(value = "状态")
    @Schema(description = "状态")
    private Boolean status;


    @ExcelProperty(value = "创建时间")
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createTime;

    @ExcelProperty(value = "创建时间")
    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime updateTime;

    @Schema(description = "是否为枚举字典")
    private Boolean enum_;


    @Schema(description = "是否创建了枚举字段")
    private Boolean createEnum;


}
